//添加代理配置信息
export const appSetting = {
	personSetting: {
		information: {
			title: '基本信息',
			option: {
				account: {
					title: '账号',
					type: 'input',
					value: '',
					placeholder: '请输入人员账号',
					validate: {
						required: true
					}
				},
				password: {
					title: '密码',
					type: 'input',
					value: '',
					placeholder: '请输入密码',
					validate: {
						required: true
					}
				},
				identityFront: {
					title: '身份证人像面',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传身份证人像面',
					customUrl: '/static/image/identityFront.png'
				},
				identityBack: {
					title: '身份证国徽面',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '请上传身份证国徽面',
					customUrl: '/static/image/identityBack.png'
				},
				name: {
					title: '姓名',
					type: 'input',
					value: '',
					placeholder: '请输入人员姓名',
					validate: {
						required: true
					}
				},
				identityNum: {
					title: '身份证号',
					type: 'input',
					value: '',
					placeholder: '请输入身份证号',
					validate: {
						required: true
					}
				},
				phone: {
					title: '手机号',
					type: 'input',
					value: '',
					placeholder: '请输入手机号',
					validate: {
						required: true
					}
				},
				status: {
					title: '账号状态',
					type: 'radio',
					value: '',
					validate: {
						required: true
					},
					option: [{
						label: '开启',
						value: '0'
					}, {
						label: '关闭',
						value: '1'
					}]
				},
			}
		},
		commission: {
			title: '费率/佣金',
			option: {
				merchant: {
					title: '修改商户费率',
					type: 'radio',
					value: '',
					validate: {
						required: true
					},
					option: [{
						label: '可修改',
						value: '0'
					}, {
						label: '不可修改',
						value: '1'
					}],
				},
				commission: {
					title: '查看佣金',
					type: 'radio',
					value: '',
					validate: {
						required: true
					},
					subTitle: '开启后该人员可在付呗司南、代理商后台',
					option: [{
						label: '可查看',
						value: '0'
					}, {
						label: '不可查看',
						value: '1'
					}],
				},
				sharing: {
					title: '分佣方式',
					type: 'radio',
					value: '',
					validate: {
						required: true
					},
					subTitle: '修改“分佣方式”次日0点生效',
					option: [{
						label: '成本费率',
						value: '0'
					}, {
						label: '分佣比例',
						value: '1'
					}, {
						label: '成本+比例',
						value: '1'
					}, ],
				},
				fixedRatio: {
					title: '固定分佣比例',
					type: 'radio',
					value: '',
					validate: {
						required: true
					},
					subTitle: '设置后本月佣金全部使用该模式，结算以上月最后一次修改为准',
					option: [{
						label: '开启',
						value: '0'
					}, {
						label: '关闭',
						value: '1'
					}],
				},
				costRate: {
					title: '成本费率',
					type: 'radio',
					value: '',
					validate: {
						required: true
					},
					subTitle: '以下默认值同代理商成本费率，可按照需要修改',
					option: [{
						label: '自定义',
						value: '0'
					}, {
						label: '不参与分佣',
						value: '1'
					}],
					rateInfo: {
						title: '扫码费率(D1结算)',
						option: {
							zfbRate: {
								title: '支付宝',
								logo: '/static/image/zfb.png',
								type: 'input',
								unit: '%',
								value: '',
								placeholder: '',
								validate: {
									required: true
								},
							},
							wxRate: {
								title: '微信',
								logo: '/static/image/wx.png',
								type: 'input',
								value: '',
								unit: '%',
								placeholder: '',
								validate: {
									required: true
								},
							},
							ysfFiexdRate: {
								title: '云闪付(交易金额 ≤1000)',
								logo: '/static/image/ysf.png',
								type: 'input',
								value: '',
								unit: '%',
								placeholder: '',
								validate: {
									required: true
								},
							},
							ysfDebitRate: {
								title: '云闪付(交易金额>1000)-借记卡',
								logo: '/static/image/ysf.png',
								type: 'input',
								value: '',
								unit: '%',
								placeholder: '',
								validate: {
									required: true
								},
							},
							ysfCappingRate: {
								title: '云闪付(交易金额>1000)-借记卡封顶手续费',
								logo: '/static/image/ysf.png',
								type: 'input',
								value: '',
								unit: '%',
								placeholder: '',
								validate: {
									required: true
								},
							},
							ysfLoanRate: {
								title: '云闪付(交易金额>1000)-贷记卡',
								logo: '/static/image/ysf.png',
								type: 'input',
								value: '',
								unit: '%',
								placeholder: '',
								validate: {
									required: true
								},
							},
						},
					},
				},
				undertaker: {
					title: '税点承担方',
					type: 'radio',
					value: '',
					validate: {
						required: true
					},
					subTitle: '承担授理商结算的税点，修改后次日生效',
					option: [{
						label: '授理商',
						value: '0'
					}, {
						label: '代理商',
						value: '1'
					}],
				},
			}
		},
		permission: {
			title: '权限',
			option: {
				shop: {
					title: '硬件商城',
					type: 'radio',
					value: '',
					validate: {
						required: true
					},
					option: [{
						label: '开启',
						value: '0'
					}, {
						label: '关闭',
						value: '1'
					}]
				},
				// doings: {
				// 	title: '金卡行动',
				// 	type: 'radio',
				// 	value: '',
				// 	validate: {
				// 		required: true
				// 	},
				// 	option: [{
				// 		label: '开启',
				// 		value: '0'
				// 	}, {
				// 		label: '关闭',
				// 		value: '1'
				// 	}]
				// },
				mainPass: {
					title: '入驻通道',
					type: 'checkbox',
					value: [],
					validate: {
						required: true
					},
					option: [{
						label: '乐刷',
						value: '0'
					}, {
						label: '拉卡拉',
						value: '1'
					}, {
						label: '富友',
						value: '2'
					}, {
						label: '易生',
						value: '3'
					}, ]
				},
				otherPass: {
					title: '其他通道',
					type: 'checkbox',
					value: [],
					validate: {
						required: true
					},
					option: [{
						label: '乐刷',
						value: '0'
					}, {
						label: '拉卡拉',
						value: '1'
					}, {
						label: '富友',
						value: '2'
					}, {
						label: '易生',
						value: '3'
					}, ]
				},
			}
		},
		certificate: {
			title: '合作凭证',
			option: {
				agreementImg: {
					title: '合作协议',
					type: 'upload',
					maxCount: 1,
					value: [],
					placeholder: '合作协议',
					customUrl: '/static/image/defult.png'
				},

			}
		},
		optional: {
			title: '选填',
			option: {
				voucher: {
					title: '合作打款凭证',
					type: 'upload',
					maxCount: 9,
					value: [],
					placeholder: ' (选填)',
					customUrl: '/static/image/defult.png'
				},
				otherVoucher: {
					title: '其他合作凭证',
					type: 'upload',
					maxCount: 9,
					value: [],
					placeholder: '(选填)',
					customUrl: '/static/image/defult.png'
				},
			}
		},
	},
}